<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title id="head-title">html.html</title>
      <link href="assets\style.css" rel="stylesheet" type="text/css"/>
  </head>
  <body>
    <h1 id="title">html.html</h1>
    <p>Report generated on 27-Oct-2025 at 13:43:37 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a>
        v4.1.1</p>
    <div id="environment-header">
      <h2>Environment</h2>
    </div>
    <table id="environment"></table>
    <!-- TEMPLATES -->
      <template id="template_environment_row">
      <tr>
        <td></td>
        <td></td>
      </tr>
    </template>
    <template id="template_results-table__body--empty">
      <tbody class="results-table-row">
        <tr id="not-found-message">
          <td colspan="4">No results found. Check the filters.</th>
        </tr>
    </template>
    <template id="template_results-table__tbody">
      <tbody class="results-table-row">
        <tr class="collapsible">
        </tr>
        <tr class="extras-row">
          <td class="extra" colspan="4">
            <div class="extraHTML"></div>
            <div class="media">
              <div class="media-container">
                  <div class="media-container__nav--left"><</div>
                  <div class="media-container__viewport">
                    <img src="" />
                    <video controls>
                      <source src="" type="video/mp4">
                    </video>
                  </div>
                  <div class="media-container__nav--right">></div>
                </div>
                <div class="media__name"></div>
                <div class="media__counter"></div>
            </div>
            <div class="logwrapper">
              <div class="logexpander"></div>
              <div class="log"></div>
            </div>
          </td>
        </tr>
      </tbody>
    </template>
    <!-- END TEMPLATES -->
    <div class="summary">
      <div class="summary__data">
        <h2>Summary</h2>
        <div class="additional-summary prefix">
        </div>
        <p class="run-count">38 tests took 682 ms.</p>
        <p class="filter">(Un)check the boxes to filter the results.</p>
        <div class="summary__reload">
          <div class="summary__reload__button hidden" onclick="location.reload()">
            <div>There are still tests running. <br />Reload this page to get the latest results!</div>
          </div>
        </div>
        <div class="summary__spacer"></div>
        <div class="controls">
          <div class="filters">
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="failed" />
            <span class="failed">32 Failed,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="passed" />
            <span class="passed">6 Passed,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="skipped" disabled/>
            <span class="skipped">0 Skipped,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="xfailed" disabled/>
            <span class="xfailed">0 Expected failures,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="xpassed" disabled/>
            <span class="xpassed">0 Unexpected passes,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="error" disabled/>
            <span class="error">0 Errors,</span>
            <input checked="true" class="filter" name="filter_checkbox" type="checkbox" data-test-result="rerun" disabled/>
            <span class="rerun">0 Reruns</span>
          </div>
          <div class="collapse">
            <button id="show_all_details">Show all details</button>&nbsp;/&nbsp;<button id="hide_all_details">Hide all details</button>
          </div>
        </div>
      </div>
      <div class="additional-summary summary">
      </div>
      <div class="additional-summary postfix">
      </div>
    </div>
    <table id="results-table">
      <thead id="results-table-head">
        <tr>
          <th class="sortable" data-column-type="result">Result</th>
          <th class="sortable" data-column-type="testId">Test</th>
          <th class="sortable" data-column-type="duration">Duration</th>
          <th>Links</th>
        </tr>
      </thead>
    </table>
  </body>
  <footer>
    <div id="data-container" data-jsonblob="{&#34;environment&#34;: {&#34;Python&#34;: &#34;3.9.10&#34;, &#34;Platform&#34;: &#34;Windows-10-10.0.22000-SP0&#34;, &#34;Packages&#34;: {&#34;pytest&#34;: &#34;8.3.5&#34;, &#34;pluggy&#34;: &#34;1.5.0&#34;}, &#34;Plugins&#34;: {&#34;allure-pytest&#34;: &#34;2.14.0&#34;, &#34;Faker&#34;: &#34;37.4.0&#34;, &#34;assume&#34;: &#34;2.4.3&#34;, &#34;base-url&#34;: &#34;2.1.0&#34;, &#34;html&#34;: &#34;4.1.1&#34;, &#34;metadata&#34;: &#34;3.1.1&#34;, &#34;playwright&#34;: &#34;0.7.0&#34;}, &#34;JAVA_HOME&#34;: &#34;C:\\Program Files\\Java\\jdk1.8.0_111&#34;, &#34;Base URL&#34;: &#34;&#34;}, &#34;tests&#34;: {&#34;ApiCase/ApiCase.py::Test_API::test_add_001&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_001&#34;, &#34;duration&#34;: &#34;260 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_001&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;260 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7E0D7F0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_001(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;00998&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            # \u53d1\u9001POST\u8bf7\u6c42\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_001 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=200\uff0cmessage=\u64cd\u4f5c\u6210\u529f\n            assert response.status_code == 200, &amp;quot;HTTP\u72b6\u6001\u7801\u975e200&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;200&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e200&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u72b6\u6001\u7801\u975e200\nE           assert &amp;#x27;300&amp;#x27; == &amp;#x27;200&amp;#x27;\nE             \nE             - 200\nE             + 300\n\nApiCase\\ApiCase.py:42: AssertionError\n\n------------------------------ Captured log setup ------------------------------\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.address`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.address` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.automotive`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.automotive` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.bank`.\nDEBUG    faker.factory:factory.py:88 Specified locale `en_US` is not available for provider `faker.providers.bank`. Locale reset to `en_GB` for this provider.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.barcode`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.barcode` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.color`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.color` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.company`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.company` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.credit_card`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.credit_card` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.currency`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.currency` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.date_time`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.date_time` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.doi` does not feature localization. Specified locale `en_US` is not utilized for this provider.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.emoji` does not feature localization. Specified locale `en_US` is not utilized for this provider.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.file` does not feature localization. Specified locale `en_US` is not utilized for this provider.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.geo`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.geo` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.internet`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.internet` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.isbn`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.isbn` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.job`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.job` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.lorem`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.lorem` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.misc`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.misc` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.passport`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.passport` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.person`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.person` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.phone_number`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.phone_number` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.profile` does not feature localization. Specified locale `en_US` is not utilized for this provider.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.python` does not feature localization. Specified locale `en_US` is not utilized for this provider.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.sbn` does not feature localization. Specified locale `en_US` is not utilized for this provider.\nDEBUG    faker.factory:factory.py:78 Looking for locale `en_US` in provider `faker.providers.ssn`.\nDEBUG    faker.factory:factory.py:97 Provider `faker.providers.ssn` has been localized to `en_US`.\nDEBUG    faker.factory:factory.py:108 Provider `faker.providers.user_agent` does not feature localization. Specified locale `en_US` is not utilized for this provider.\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:246 Starting new HTTP connection (1): 211.159.148.205:7009\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_002&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_002&#34;, &#34;duration&#34;: &#34;11 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_002&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;11 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_003&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_003&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_003&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_004&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_004&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_004&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_005&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_005&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_005&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_006&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_006&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_006&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7BAD3D0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_006(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1a\u7f3a\u5931productCode\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_006 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u7cfb\u7edf\u5f02\u5e38&amp;#x27; == &amp;#x27;productCode\u7f3a\u5931&amp;#x27;\nE             \nE             - productCode\u7f3a\u5931\nE             + \u7cfb\u7edf\u5f02\u5e38\n\nApiCase\\ApiCase.py:167: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 105\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_007&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_007&#34;, &#34;duration&#34;: &#34;11 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_007&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;11 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7BAD670&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_007(self, api_client):\n        #\u5224\u65ad\u65b9\u5f0f\u4e3a\u5148\u5224\u65adcode,\u5982\u679ccode\u5df2\u5b58\u5728\uff0c\u5219\u8fd4\u56de\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\uff0c\n        # \u5982\u679ccode\u4e0d\u5b58\u5728\uff0c\u5219\u5224\u65ad\u662f\u5426\u6709productName\u53c2\u6570\uff0c\u5982\u679c\u6ca1\u6709\u5219\u8fd4\u56de\u7cfb\u7edf\u5f02\u5e38\uff0c\u5982\u679c\u6709\u5219\u6dfb\u52a0\u6210\u529f\n        # \u6240\u4ee5\u5fc5\u586b\u53c2\u6570\u4ec5\u6709productCode\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1a\u7f3a\u5931productName\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;004&amp;quot;\n            }\n    \n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_007 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productName\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productName\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productName\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productName\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u7cfb\u7edf\u5f02\u5e38&amp;#x27; == &amp;#x27;productName\u7f3a\u5931&amp;#x27;\nE             \nE             - productName\u7f3a\u5931\nE             + \u7cfb\u7edf\u5f02\u5e38\n\nApiCase\\ApiCase.py:196: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 105\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_008&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_008&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_008&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF86A0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_008(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1a\u4ec5\u4f20productCode\n            params = {\n                &amp;quot;productCode&amp;quot;: &amp;quot;008&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_008 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE             \nE             - \u53c2\u6570\u7f3a\u5931\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:219: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_009&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_009&#34;, &#34;duration&#34;: &#34;18 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_009&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;18 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF82B0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_009(self, api_client):\n        #\u5fc5\u586b\u53c2\u6570productCode\u4e0d\u5b58\u5728\uff0c\u6240\u4ee5\u8fd4\u56de\u7cfb\u7edf\u5f02\u5e38\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1a\u4ec5\u4f20productName\n            params = {\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_009 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u7cfb\u7edf\u5f02\u5e38&amp;#x27; == &amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE             \nE             - \u53c2\u6570\u7f3a\u5931\nE             + \u7cfb\u7edf\u5f02\u5e38\n\nApiCase\\ApiCase.py:242: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 105\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_010&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_010&#34;, &#34;duration&#34;: &#34;11 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_010&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;11 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF8700&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_010(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u4e3a\u7a7a\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;&amp;quot;,  # \u7a7a\u503c\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_010 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;#x27;\nE           assert &amp;#x27;\u7cfb\u7edf\u5f02\u5e38&amp;#x27; == &amp;#x27;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;#x27;\nE             \nE             - \u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a\nE             + \u7cfb\u7edf\u5f02\u5e38\n\nApiCase\\ApiCase.py:268: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 105\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_011&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_011&#34;, &#34;duration&#34;: &#34;11 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_011&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;11 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF88B0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_011(self, api_client):\n        #\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductName\u4e3a\u7a7a\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;&amp;quot;  # \u7a7a\u503c\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_011 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a&amp;#x27;\nE             \nE             - \u53c2\u6570\u4e0d\u80fd\u4e3a\u7a7a\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:295: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_012&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_012&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_012&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF8C40&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_012(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductName\u4e3a\u7a7a\u5b57\u7b26\u4e32\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;&amp;quot;  # \u7a7a\u5b57\u7b26\u4e32\uff08\u4e0ecase_011\u53c2\u6570\u4e00\u81f4\uff09\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_012 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570productName\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570productName\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570productName\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570productName\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u53c2\u6570productName\u7f3a\u5931&amp;#x27;\nE             \nE             - \u53c2\u6570productName\u7f3a\u5931\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:321: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_013&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_013&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_013&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7BAD9A0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_013(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1anavTabId\u4e3a\u7a7a\u5b57\u7b26\u4e32\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;&amp;quot;,  # \u7a7a\u5b57\u7b26\u4e32\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_013 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE             \nE             - \u53c2\u6570\u7f3a\u5931\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:347: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_014&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_014&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_014&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7E0D940&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_014(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1acallbackType\u4e3a\u7a7a\u5b57\u7b26\u4e32\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;&amp;quot;,  # \u7a7a\u5b57\u7b26\u4e32\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_014 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE             \nE             - \u53c2\u6570\u7f3a\u5931\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:373: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_015&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_015&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_015&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF8880&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_015(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aforwardUrl\u4e3a\u7a7a\u5b57\u7b26\u4e32\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,  # \u7a7a\u5b57\u7b26\u4e32\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_015 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u53c2\u6570\u7f3a\u5931\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u53c2\u6570\u7f3a\u5931&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u53c2\u6570\u7f3a\u5931&amp;#x27;\nE             \nE             - \u53c2\u6570\u7f3a\u5931\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:399: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_016&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_016&#34;, &#34;duration&#34;: &#34;11 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_016&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;11 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7CF8FA0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_016(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductName\u4f20null\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;null&amp;quot;  # \u4f20null\u5b57\u7b26\u4e32\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_016 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode \u683c\u5f0f\u9519\u8bef\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode \u683c\u5f0f\u9519\u8bef&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode \u683c\u5f0f\u9519\u8bef&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode \u683c\u5f0f\u9519\u8bef&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode \u683c\u5f0f\u9519\u8bef&amp;#x27;\nE             \nE             - productCode \u683c\u5f0f\u9519\u8bef\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:425: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_017&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_017&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_017&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6D490&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_017(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductName\u542b\u7279\u6b8a\u7b26\u53f7&amp;amp;*%^\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;&amp;amp;T&amp;amp;^R^%^&amp;amp;^*&amp;quot;  # \u7279\u6b8a\u7b26\u53f7\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_017 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productName \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productName \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productName \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productName \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productName \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;#x27;\nE             \nE             - productName \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:451: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_018&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_018&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_018&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6D1C0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_018(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u542b\u7279\u6b8a\u5b57\u7b26%\uffe5\u2026\u2026&amp;amp;*\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;%\uffe5\u2026\u2026%&amp;amp;*\uff08*\uff08\uff09\uff08&amp;quot;,  # \u7279\u6b8a\u5b57\u7b26\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_018 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode\u4e0d\u80fd\u4e3a\u7279\u6b8a\u5b57\u7b26\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode\u4e0d\u80fd\u4e3a\u7279\u6b8a\u5b57\u7b26&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode\u4e0d\u80fd\u4e3a\u7279\u6b8a\u5b57\u7b26&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode\u4e0d\u80fd\u4e3a\u7279\u6b8a\u5b57\u7b26&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode\u4e0d\u80fd\u4e3a\u7279\u6b8a\u5b57\u7b26&amp;#x27;\nE             \nE             - productCode\u4e0d\u80fd\u4e3a\u7279\u6b8a\u5b57\u7b26\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:477: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_019&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_019&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_019&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6D130&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_019(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aforwardUrl\u542b\u4e2d\u6587\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;\u6d4b\u8bd5\u4e2d\u6587\u8def\u5f84&amp;quot;,  # \u4e2d\u6587\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_019 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7&amp;#x27;\nE             \nE             - \u4e0d\u80fd\u6dfb\u52a0\u7279\u6b8a\u7b26\u53f7\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:503: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_020&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_020&#34;, &#34;duration&#34;: &#34;11 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_020&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;11 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6D8E0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_020(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u4f20\u975e\u6570\u5b57\u5b57\u7b26\u4e32\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;WERTYUI&amp;quot;,  # \u975e\u6570\u5b57\u5b57\u7b26\u4e32\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_020 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode\u683c\u5f0f\u9519\u8bef\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode\u683c\u5f0f\u9519\u8bef&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode\u683c\u5f0f\u9519\u8bef&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode\u683c\u5f0f\u9519\u8bef&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode\u683c\u5f0f\u9519\u8bef&amp;#x27;\nE             \nE             - productCode\u683c\u5f0f\u9519\u8bef\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:529: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_021&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_021&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_021&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6DFD0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_021(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u4f20\u8d1f\u6570-1\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;-1&amp;quot;,  # \u8d1f\u6570\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_021 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode\u683c\u5f0f\u9519\u8bef\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode\u683c\u5f0f\u9519\u8bef&amp;quot;, &amp;quot;productCode\u683c\u5f0f\u9519\u8bef&amp;#x27;&amp;quot;\nE           AssertionError: productCode\u683c\u5f0f\u9519\u8bef&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode\u683c\u5f0f\u9519\u8bef&amp;#x27;\nE             \nE             - productCode\u683c\u5f0f\u9519\u8bef\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:555: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_022&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_022&#34;, &#34;duration&#34;: &#34;10 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_022&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;10 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6DC40&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_022(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u4f20\u5c0f\u65701.1\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;1.1&amp;quot;,  # \u5c0f\u6570\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_022 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode \u6dfb\u52a0\u5931\u8d25\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode \u6dfb\u52a0\u5931\u8d25&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode \u6dfb\u52a0\u5931\u8d25&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode \u6dfb\u52a0\u5931\u8d25&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode \u6dfb\u52a0\u5931\u8d25&amp;#x27;\nE             \nE             - productCode \u6dfb\u52a0\u5931\u8d25\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:581: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_023&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_023&#34;, &#34;duration&#34;: &#34;8 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_023&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;8 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C06640&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_023(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u4f2010\u4f4d\u6570\u5b571234567890\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;1234567890&amp;quot;,  # 10\u4f4d\u8d85\u957f\u6570\u5b57\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_023 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode \u8f93\u5165\u5b57\u7b26\u4e32\u8fc7\u957f\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode \u8f93\u5165\u5b57\u7b26\u4e32\u8fc7\u957f&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode \u8f93\u5165\u5b57\u7b26\u4e32\u8fc7\u957f&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;productCode \u8f93\u5165\u5b57\u7b26\u4e32\u8fc7\u957f&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode \u8f93\u5165\u5b57\u7b26\u4e32\u8fc7\u957f&amp;#x27;\nE             \nE             - productCode \u8f93\u5165\u5b57\u7b26\u4e32\u8fc7\u957f\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:607: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_024&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_024&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_024&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_025&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_025&#34;, &#34;duration&#34;: &#34;8 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_025&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;8 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C06AF0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_025(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1aproductCode\u4f200\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;0&amp;quot;,  # \u4f200\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_025 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=productCode\u53c2\u6570\u9519\u8bef\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;productCode\u53c2\u6570\u9519\u8bef&amp;quot;, &amp;quot;productCode\u53c2\u6570\u9519\u8bef&amp;#x27;&amp;quot;\nE           AssertionError: productCode\u53c2\u6570\u9519\u8bef&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;productCode\u53c2\u6570\u9519\u8bef&amp;#x27;\nE             \nE             - productCode\u53c2\u6570\u9519\u8bef\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:658: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_026&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_026&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_026&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C06820&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_026(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1anavTabId\u4f20\u975ezfcpgl\u503cljgjjjkjk\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;ljgjjjkjk&amp;quot;,  # \u975ezfcpgl\u503c\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_026 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage= \u6dfb\u52a0\u5931\u8d25\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot; \u6dfb\u52a0\u5931\u8d25&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27; \u6dfb\u52a0\u5931\u8d25&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27; \u6dfb\u52a0\u5931\u8d25&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27; \u6dfb\u52a0\u5931\u8d25&amp;#x27;\nE             \nE             -  \u6dfb\u52a0\u5931\u8d25\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:684: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_027&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_027&#34;, &#34;duration&#34;: &#34;9 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_027&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;9 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;ApiCase.Test_API object at 0x00000211D7C06220&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_027(self, api_client):\n        try:\n            # \u8bf7\u6c42\u53c2\u6570\uff1acallbackType\u4f20\u975ecloseCurrent\u503cjbjsbdjbhl\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;jbjsbdjbhl&amp;quot;,  # \u975ecloseCurrent\u503c\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=self.BASE_HEADERS,\n                data=params\n            )\n            response_json = response.json()\n            print(f&amp;quot;\\ncase_027 \u54cd\u5e94: {json.dumps(response_json, indent=2, ensure_ascii=False)}&amp;quot;)\n            # \u65ad\u8a00\uff1astatusCode=300\uff0cmessage=\u6dfb\u52a0\u5931\u8d25\n            assert response_json[&amp;quot;statusCode&amp;quot;] == &amp;quot;300&amp;quot;, &amp;quot;\u4e1a\u52a1\u72b6\u6001\u7801\u975e300&amp;quot;\n&amp;gt;           assert response_json[&amp;quot;message&amp;quot;] == &amp;quot;\u6dfb\u52a0\u5931\u8d25&amp;quot;, &amp;quot;\u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u6dfb\u52a0\u5931\u8d25&amp;#x27;&amp;quot;\nE           AssertionError: \u4e1a\u52a1\u6d88\u606f\u975e&amp;#x27;\u6dfb\u52a0\u5931\u8d25&amp;#x27;\nE           assert &amp;#x27;\u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728&amp;#x27; == &amp;#x27;\u6dfb\u52a0\u5931\u8d25&amp;#x27;\nE             \nE             - \u6dfb\u52a0\u5931\u8d25\nE             + \u652f\u4ed8\u4ea7\u54c1\u5df2\u5b58\u5728\n\nApiCase\\ApiCase.py:710: AssertionError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 200 114\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_028&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Passed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_028&#34;, &#34;duration&#34;: &#34;12 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Passed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_028&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;12 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login;jsessionid=309BC15171072C9668D011D6DB077AFD HTTP/1.1&amp;quot; 400 None\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_029&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_029&#34;, &#34;duration&#34;: &#34;19 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_029&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;19 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C27BE0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_029(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u643a\u5e26\u5931\u6548Cookie\uff09\n            cookie= {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=EXPIRED_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u5931\u6548ID\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=cookie,  # \u5931\u6548Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:766: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:291 Resetting dropped connection: 211.159.148.205\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_030&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_030&#34;, &#34;duration&#34;: &#34;15 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_030&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;15 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C279A0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_030(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u7be1\u6539Cookie\u503c\uff09\n            tampered_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=7A7BF902DFE4B339B484765691619&amp;quot;,  # \u7be1\u6539\u540e\u7684\u503c\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=tampered_cookie_headers,  # \u7be1\u6539Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:796: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_031&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_031&#34;, &#34;duration&#34;: &#34;14 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_031&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;14 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C27790&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_031(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08Cookie\u7f3a\u5931JSESSIONID\u503c\uff09\n            missing_jsession_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=&amp;quot;,  # \u7a7aJSESSIONID\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=missing_jsession_cookie_headers,  # \u7f3a\u5931JSESSIONID\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:827: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_032&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_032&#34;, &#34;duration&#34;: &#34;15 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_032&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;15 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C06AC0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_032(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u643a\u5e26\u5176\u4ed6\u8d26\u53f7\u5931\u6548Cookie\uff09\n            other_expired_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=OTHER_ACCOUNT_EXPIRED_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u5176\u4ed6\u8d26\u53f7\u5931\u6548Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=other_expired_cookie_headers,  # \u5176\u4ed6\u8d26\u53f7\u5931\u6548Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:858: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_033&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_033&#34;, &#34;duration&#34;: &#34;13 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_033&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;13 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6DBE0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_033(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u666e\u901a\u8d26\u53f7Cookie\uff09\n            operator_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=OPERATOR_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u666e\u901a\u8d26\u53f7Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=operator_cookie_headers,  # \u64cd\u4f5c\u5458Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:889: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_034&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_034&#34;, &#34;duration&#34;: &#34;14 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_034&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;14 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C6D640&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_034(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u6e38\u5ba2\u8d26\u53f7Cookie\uff09\n            guest_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=GUEST_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u6e38\u5ba2\u8d26\u53f7Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=guest_cookie_headers,  # \u6e38\u5ba2Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:920: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_035&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_035&#34;, &#34;duration&#34;: &#34;15 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_035&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;15 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C27490&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_035(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u88ab\u7981\u7528\u7ba1\u7406\u5458\u8d26\u53f7Cookie\uff09\n            disabled_admin_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=DISABLED_ADMIN_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u7981\u7528\u7ba1\u7406\u5458Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=disabled_admin_cookie_headers,  # \u7981\u7528\u7ba1\u7406\u5458Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:951: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_036&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_036&#34;, &#34;duration&#34;: &#34;15 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_036&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;15 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C275B0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_036(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u8de8\u8d26\u53f7Cookie\uff09\n            cross_account_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=CROSS_ACCOUNT_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u8de8\u8d26\u53f7Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=cross_account_cookie_headers,  # \u8de8\u8d26\u53f7Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:982: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_037&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_037&#34;, &#34;duration&#34;: &#34;14 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_037&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;14 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C27130&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_037(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u4f2a\u9020Cookie\uff09\n            fake_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=7A79219129119195121956DB2&amp;quot;,  # \u4f2a\u9020Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=fake_cookie_headers,  # \u4f2a\u9020Cookie\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:1013: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}], &#34;ApiCase/ApiCase.py::Test_API::test_add_038&#34;: [{&#34;extras&#34;: [], &#34;result&#34;: &#34;Failed&#34;, &#34;testId&#34;: &#34;ApiCase/ApiCase.py::Test_API::test_add_038&#34;, &#34;duration&#34;: &#34;13 ms&#34;, &#34;resultsTableRow&#34;: [&#34;&lt;td class=\&#34;col-result\&#34;&gt;Failed&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-testId\&#34;&gt;ApiCase/ApiCase.py::Test_API::test_add_038&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-duration\&#34;&gt;13 ms&lt;/td&gt;&#34;, &#34;&lt;td class=\&#34;col-links\&#34;&gt;&lt;/td&gt;&#34;], &#34;log&#34;: &#34;self = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n&amp;gt;           return complexjson.loads(self.text, **kwargs)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:974: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\nD:\\yingyong\\python\\lib\\json\\__init__.py:346: in loads\n    return _default_decoder.decode(s)\nD:\\yingyong\\python\\lib\\json\\decoder.py:337: in decode\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;json.decoder.JSONDecoder object at 0x00000211B3742970&amp;gt;\ns = &amp;#x27;\\n&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional...ay-web-boss/rcCaptcha.jpg?\\&amp;#x27;\\n\\t\\t\\t\\t\\t\\t\\t+ new Date().getTime());\\n\\t\\t\\t\\t});\\n\\t})\\n&amp;lt;/script&amp;gt;\\n&amp;lt;/body&amp;gt;\\n&amp;lt;/html&amp;gt;\\n&amp;#x27;\nidx = 1\n\n    def raw_decode(self, s, idx=0):\n        &amp;quot;&amp;quot;&amp;quot;Decode a JSON document from ``s`` (a ``str`` beginning with\n        a JSON document) and return a 2-tuple of the Python\n        representation and the index in ``s`` where the document ended.\n    \n        This can be used to decode a JSON document from a string that may\n        have extraneous data at the end.\n    \n        &amp;quot;&amp;quot;&amp;quot;\n        try:\n            obj, end = self.scan_once(s, idx)\n        except StopIteration as err:\n&amp;gt;           raise JSONDecodeError(&amp;quot;Expecting value&amp;quot;, s, err.value) from None\nE           json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\json\\decoder.py:355: JSONDecodeError\n\nDuring handling of the above exception, another exception occurred:\n\nself = &amp;lt;ApiCase.Test_API object at 0x00000211D7C27EB0&amp;gt;\napi_client = &amp;lt;API.ApiBase.ApiBase.ApiBase object at 0x00000211D7E00400&amp;gt;\n\n    def test_add_038(self, api_client):\n        try:\n            # \u81ea\u5b9a\u4e49\u8bf7\u6c42\u5934\uff08\u64cd\u4f5c\u5458Cookie\uff0c\u53c2\u6570\u4e2d\u9690\u542b\u4f2a\u9020\u6743\u9650\uff09\n            operator_fake_perm_cookie_headers = {\n                &amp;quot;Cookie&amp;quot;: &amp;quot;JSESSIONID=OPERATOR_7A7BF902DFE4B339B4847DC9A4966DB2&amp;quot;,  # \u64cd\u4f5c\u5458Cookie\n                &amp;quot;Content-Type&amp;quot;: &amp;quot;application/x-www-form-urlencoded&amp;quot;\n            }\n            # \u8bf7\u6c42\u53c2\u6570\n            params = {\n                &amp;quot;navTabId&amp;quot;: &amp;quot;zfcpgl&amp;quot;,\n                &amp;quot;callbackType&amp;quot;: &amp;quot;closeCurrent&amp;quot;,\n                &amp;quot;forwardUrl&amp;quot;: &amp;quot;&amp;quot;,\n                &amp;quot;productCode&amp;quot;: &amp;quot;002&amp;quot;,\n                &amp;quot;productName&amp;quot;: &amp;quot;\u624b\u673a&amp;quot;\n            }\n            response = api_client.post(\n                path=self.API_PATH,\n                headers=operator_fake_perm_cookie_headers,  # \u64cd\u4f5c\u5458Cookie\uff08\u4f2a\u9020\u6743\u9650\uff09\n                data=params\n            )\n&amp;gt;           response_json = response.json()\n\nApiCase\\ApiCase.py:1044: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n\nself = &amp;lt;Response [200]&amp;gt;, kwargs = {}\n\n    def json(self, **kwargs):\n        r&amp;quot;&amp;quot;&amp;quot;Returns the json-encoded content of a response, if any.\n    \n        :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n        :raises requests.exceptions.JSONDecodeError: If the response body does not\n            contain valid json.\n        &amp;quot;&amp;quot;&amp;quot;\n    \n        if not self.encoding and self.content and len(self.content) &amp;gt; 3:\n            # No encoding set. JSON RFC 4627 section 3 states we should expect\n            # UTF-8, -16 or -32. Detect which one to use; If the detection or\n            # decoding fails, fall back to `self.text` (using charset_normalizer to make\n            # a best guess).\n            encoding = guess_json_utf(self.content)\n            if encoding is not None:\n                try:\n                    return complexjson.loads(self.content.decode(encoding), **kwargs)\n                except UnicodeDecodeError:\n                    # Wrong UTF codec detected; usually because it&amp;#x27;s not UTF-8\n                    # but some other 8-bit codec.  This is an RFC violation,\n                    # and the server didn&amp;#x27;t bother to tell us what codec *was*\n                    # used.\n                    pass\n                except JSONDecodeError as e:\n                    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n    \n        try:\n            return complexjson.loads(self.text, **kwargs)\n        except JSONDecodeError as e:\n            # Catch JSON-related errors and raise as requests.JSONDecodeError\n            # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n&amp;gt;           raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\nE           requests.exceptions.JSONDecodeError: Expecting value: line 2 column 1 (char 1)\n\nD:\\yingyong\\python\\lib\\site-packages\\requests\\models.py:978: JSONDecodeError\n\n------------------------------ Captured log call -------------------------------\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;POST /roncoo-pay-web-boss/pay/product/add HTTP/1.1&amp;quot; 302 0\nDEBUG    urllib3.connectionpool:connectionpool.py:475 http://211.159.148.205:7009 &amp;quot;GET /roncoo-pay-web-boss/login HTTP/1.1&amp;quot; 200 2543\n\n&#34;}]}, &#34;renderCollapsed&#34;: [&#34;passed&#34;], &#34;initialSort&#34;: &#34;result&#34;, &#34;title&#34;: &#34;html.html&#34;}"></div>
    <script>
      (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
const { getCollapsedCategory, setCollapsedIds } = require('./storage.js')

class DataManager {
    setManager(data) {
        const collapsedCategories = [...getCollapsedCategory(data.renderCollapsed)]
        const collapsedIds = []
        const tests = Object.values(data.tests).flat().map((test, index) => {
            const collapsed = collapsedCategories.includes(test.result.toLowerCase())
            const id = `test_${index}`
            if (collapsed) {
                collapsedIds.push(id)
            }
            return {
                ...test,
                id,
                collapsed,
            }
        })
        const dataBlob = { ...data, tests }
        this.data = { ...dataBlob }
        this.renderData = { ...dataBlob }
        setCollapsedIds(collapsedIds)
    }

    get allData() {
        return { ...this.data }
    }

    resetRender() {
        this.renderData = { ...this.data }
    }

    setRender(data) {
        this.renderData.tests = [...data]
    }

    toggleCollapsedItem(id) {
        this.renderData.tests = this.renderData.tests.map((test) =>
            test.id === id ? { ...test, collapsed: !test.collapsed } : test,
        )
    }

    set allCollapsed(collapsed) {
        this.renderData = { ...this.renderData, tests: [...this.renderData.tests.map((test) => (
            { ...test, collapsed }
        ))] }
    }

    get testSubset() {
        return [...this.renderData.tests]
    }

    get environment() {
        return this.renderData.environment
    }

    get initialSort() {
        return this.data.initialSort
    }
}

module.exports = {
    manager: new DataManager(),
}

},{"./storage.js":8}],2:[function(require,module,exports){
const mediaViewer = require('./mediaviewer.js')
const templateEnvRow = document.getElementById('template_environment_row')
const templateResult = document.getElementById('template_results-table__tbody')

function htmlToElements(html) {
    const temp = document.createElement('template')
    temp.innerHTML = html
    return temp.content.childNodes
}

const find = (selector, elem) => {
    if (!elem) {
        elem = document
    }
    return elem.querySelector(selector)
}

const findAll = (selector, elem) => {
    if (!elem) {
        elem = document
    }
    return [...elem.querySelectorAll(selector)]
}

const dom = {
    getStaticRow: (key, value) => {
        const envRow = templateEnvRow.content.cloneNode(true)
        const isObj = typeof value === 'object' && value !== null
        const values = isObj ? Object.keys(value).map((k) => `${k}: ${value[k]}`) : null

        const valuesElement = htmlToElements(
            values ? `<ul>${values.map((val) => `<li>${val}</li>`).join('')}<ul>` : `<div>${value}</div>`)[0]
        const td = findAll('td', envRow)
        td[0].textContent = key
        td[1].appendChild(valuesElement)

        return envRow
    },
    getResultTBody: ({ testId, id, log, extras, resultsTableRow, tableHtml, result, collapsed }) => {
        const resultBody = templateResult.content.cloneNode(true)
        resultBody.querySelector('tbody').classList.add(result.toLowerCase())
        resultBody.querySelector('tbody').id = testId
        resultBody.querySelector('.collapsible').dataset.id = id

        resultsTableRow.forEach((html) => {
            const t = document.createElement('template')
            t.innerHTML = html
            resultBody.querySelector('.collapsible').appendChild(t.content)
        })

        if (log) {
            // Wrap lines starting with "E" with span.error to color those lines red
            const wrappedLog = log.replace(/^E.*$/gm, (match) => `<span class="error">${match}</span>`)
            resultBody.querySelector('.log').innerHTML = wrappedLog
        } else {
            resultBody.querySelector('.log').remove()
        }

        if (collapsed) {
            resultBody.querySelector('.collapsible > td')?.classList.add('collapsed')
            resultBody.querySelector('.extras-row').classList.add('hidden')
        } else {
            resultBody.querySelector('.collapsible > td')?.classList.remove('collapsed')
        }

        const media = []
        extras?.forEach(({ name, format_type, content }) => {
            if (['image', 'video'].includes(format_type)) {
                media.push({ path: content, name, format_type })
            }

            if (format_type === 'html') {
                resultBody.querySelector('.extraHTML').insertAdjacentHTML('beforeend', `<div>${content}</div>`)
            }
        })
        mediaViewer.setup(resultBody, media)

        // Add custom html from the pytest_html_results_table_html hook
        tableHtml?.forEach((item) => {
            resultBody.querySelector('td[class="extra"]').insertAdjacentHTML('beforeend', item)
        })

        return resultBody
    },
}

module.exports = {
    dom,
    htmlToElements,
    find,
    findAll,
}

},{"./mediaviewer.js":6}],3:[function(require,module,exports){
const { manager } = require('./datamanager.js')
const { doSort } = require('./sort.js')
const storageModule = require('./storage.js')

const getFilteredSubSet = (filter) =>
    manager.allData.tests.filter(({ result }) => filter.includes(result.toLowerCase()))

const doInitFilter = () => {
    const currentFilter = storageModule.getVisible()
    const filteredSubset = getFilteredSubSet(currentFilter)
    manager.setRender(filteredSubset)
}

const doFilter = (type, show) => {
    if (show) {
        storageModule.showCategory(type)
    } else {
        storageModule.hideCategory(type)
    }

    const currentFilter = storageModule.getVisible()
    const filteredSubset = getFilteredSubSet(currentFilter)
    manager.setRender(filteredSubset)

    const sortColumn = storageModule.getSort()
    doSort(sortColumn, true)
}

module.exports = {
    doFilter,
    doInitFilter,
}

},{"./datamanager.js":1,"./sort.js":7,"./storage.js":8}],4:[function(require,module,exports){
const { redraw, bindEvents, renderStatic } = require('./main.js')
const { doInitFilter } = require('./filter.js')
const { doInitSort } = require('./sort.js')
const { manager } = require('./datamanager.js')
const data = JSON.parse(document.getElementById('data-container').dataset.jsonblob)

function init() {
    manager.setManager(data)
    doInitFilter()
    doInitSort()
    renderStatic()
    redraw()
    bindEvents()
}

init()

},{"./datamanager.js":1,"./filter.js":3,"./main.js":5,"./sort.js":7}],5:[function(require,module,exports){
const { dom, find, findAll } = require('./dom.js')
const { manager } = require('./datamanager.js')
const { doSort } = require('./sort.js')
const { doFilter } = require('./filter.js')
const {
    getVisible,
    getCollapsedIds,
    setCollapsedIds,
    getSort,
    getSortDirection,
    possibleFilters,
} = require('./storage.js')

const removeChildren = (node) => {
    while (node.firstChild) {
        node.removeChild(node.firstChild)
    }
}

const renderStatic = () => {
    const renderEnvironmentTable = () => {
        const environment = manager.environment
        const rows = Object.keys(environment).map((key) => dom.getStaticRow(key, environment[key]))
        const table = document.getElementById('environment')
        removeChildren(table)
        rows.forEach((row) => table.appendChild(row))
    }
    renderEnvironmentTable()
}

const addItemToggleListener = (elem) => {
    elem.addEventListener('click', ({ target }) => {
        const id = target.parentElement.dataset.id
        manager.toggleCollapsedItem(id)

        const collapsedIds = getCollapsedIds()
        if (collapsedIds.includes(id)) {
            const updated = collapsedIds.filter((item) => item !== id)
            setCollapsedIds(updated)
        } else {
            collapsedIds.push(id)
            setCollapsedIds(collapsedIds)
        }
        redraw()
    })
}

const renderContent = (tests) => {
    const sortAttr = getSort(manager.initialSort)
    const sortAsc = JSON.parse(getSortDirection())
    const rows = tests.map(dom.getResultTBody)
    const table = document.getElementById('results-table')
    const tableHeader = document.getElementById('results-table-head')

    const newTable = document.createElement('table')
    newTable.id = 'results-table'

    // remove all sorting classes and set the relevant
    findAll('.sortable', tableHeader).forEach((elem) => elem.classList.remove('asc', 'desc'))
    tableHeader.querySelector(`.sortable[data-column-type="${sortAttr}"]`)?.classList.add(sortAsc ? 'desc' : 'asc')
    newTable.appendChild(tableHeader)

    if (!rows.length) {
        const emptyTable = document.getElementById('template_results-table__body--empty').content.cloneNode(true)
        newTable.appendChild(emptyTable)
    } else {
        rows.forEach((row) => {
            if (!!row) {
                findAll('.collapsible td:not(.col-links', row).forEach(addItemToggleListener)
                find('.logexpander', row).addEventListener('click',
                    (evt) => evt.target.parentNode.classList.toggle('expanded'),
                )
                newTable.appendChild(row)
            }
        })
    }

    table.replaceWith(newTable)
}

const renderDerived = () => {
    const currentFilter = getVisible()
    possibleFilters.forEach((result) => {
        const input = document.querySelector(`input[data-test-result="${result}"]`)
        input.checked = currentFilter.includes(result)
    })
}

const bindEvents = () => {
    const filterColumn = (evt) => {
        const { target: element } = evt
        const { testResult } = element.dataset

        doFilter(testResult, element.checked)
        const collapsedIds = getCollapsedIds()
        const updated = manager.renderData.tests.map((test) => {
            return {
                ...test,
                collapsed: collapsedIds.includes(test.id),
            }
        })
        manager.setRender(updated)
        redraw()
    }

    const header = document.getElementById('environment-header')
    header.addEventListener('click', () => {
        const table = document.getElementById('environment')
        table.classList.toggle('hidden')
        header.classList.toggle('collapsed')
    })

    findAll('input[name="filter_checkbox"]').forEach((elem) => {
        elem.addEventListener('click', filterColumn)
    })

    findAll('.sortable').forEach((elem) => {
        elem.addEventListener('click', (evt) => {
            const { target: element } = evt
            const { columnType } = element.dataset
            doSort(columnType)
            redraw()
        })
    })

    document.getElementById('show_all_details').addEventListener('click', () => {
        manager.allCollapsed = false
        setCollapsedIds([])
        redraw()
    })
    document.getElementById('hide_all_details').addEventListener('click', () => {
        manager.allCollapsed = true
        const allIds = manager.renderData.tests.map((test) => test.id)
        setCollapsedIds(allIds)
        redraw()
    })
}

const redraw = () => {
    const { testSubset } = manager

    renderContent(testSubset)
    renderDerived()
}

module.exports = {
    redraw,
    bindEvents,
    renderStatic,
}

},{"./datamanager.js":1,"./dom.js":2,"./filter.js":3,"./sort.js":7,"./storage.js":8}],6:[function(require,module,exports){
class MediaViewer {
    constructor(assets) {
        this.assets = assets
        this.index = 0
    }

    nextActive() {
        this.index = this.index === this.assets.length - 1 ? 0 : this.index + 1
        return [this.activeFile, this.index]
    }

    prevActive() {
        this.index = this.index === 0 ? this.assets.length - 1 : this.index -1
        return [this.activeFile, this.index]
    }

    get currentIndex() {
        return this.index
    }

    get activeFile() {
        return this.assets[this.index]
    }
}


const setup = (resultBody, assets) => {
    if (!assets.length) {
        resultBody.querySelector('.media').classList.add('hidden')
        return
    }

    const mediaViewer = new MediaViewer(assets)
    const container = resultBody.querySelector('.media-container')
    const leftArrow = resultBody.querySelector('.media-container__nav--left')
    const rightArrow = resultBody.querySelector('.media-container__nav--right')
    const mediaName = resultBody.querySelector('.media__name')
    const counter = resultBody.querySelector('.media__counter')
    const imageEl = resultBody.querySelector('img')
    const sourceEl = resultBody.querySelector('source')
    const videoEl = resultBody.querySelector('video')

    const setImg = (media, index) => {
        if (media?.format_type === 'image') {
            imageEl.src = media.path

            imageEl.classList.remove('hidden')
            videoEl.classList.add('hidden')
        } else if (media?.format_type === 'video') {
            sourceEl.src = media.path

            videoEl.classList.remove('hidden')
            imageEl.classList.add('hidden')
        }

        mediaName.innerText = media?.name
        counter.innerText = `${index + 1} / ${assets.length}`
    }
    setImg(mediaViewer.activeFile, mediaViewer.currentIndex)

    const moveLeft = () => {
        const [media, index] = mediaViewer.prevActive()
        setImg(media, index)
    }
    const doRight = () => {
        const [media, index] = mediaViewer.nextActive()
        setImg(media, index)
    }
    const openImg = () => {
        window.open(mediaViewer.activeFile.path, '_blank')
    }
    if (assets.length === 1) {
        container.classList.add('media-container--fullscreen')
    } else {
        leftArrow.addEventListener('click', moveLeft)
        rightArrow.addEventListener('click', doRight)
    }
    imageEl.addEventListener('click', openImg)
}

module.exports = {
    setup,
}

},{}],7:[function(require,module,exports){
const { manager } = require('./datamanager.js')
const storageModule = require('./storage.js')

const genericSort = (list, key, ascending, customOrder) => {
    let sorted
    if (customOrder) {
        sorted = list.sort((a, b) => {
            const aValue = a.result.toLowerCase()
            const bValue = b.result.toLowerCase()

            const aIndex = customOrder.findIndex((item) => item.toLowerCase() === aValue)
            const bIndex = customOrder.findIndex((item) => item.toLowerCase() === bValue)

            // Compare the indices to determine the sort order
            return aIndex - bIndex
        })
    } else {
        sorted = list.sort((a, b) => a[key] === b[key] ? 0 : a[key] > b[key] ? 1 : -1)
    }

    if (ascending) {
        sorted.reverse()
    }
    return sorted
}

const durationSort = (list, ascending) => {
    const parseDuration = (duration) => {
        if (duration.includes(':')) {
            // If it's in the format "HH:mm:ss"
            const [hours, minutes, seconds] = duration.split(':').map(Number)
            return (hours * 3600 + minutes * 60 + seconds) * 1000
        } else {
            // If it's in the format "nnn ms"
            return parseInt(duration)
        }
    }
    const sorted = list.sort((a, b) => parseDuration(a['duration']) - parseDuration(b['duration']))
    if (ascending) {
        sorted.reverse()
    }
    return sorted
}

const doInitSort = () => {
    const type = storageModule.getSort(manager.initialSort)
    const ascending = storageModule.getSortDirection()
    const list = manager.testSubset
    const initialOrder = ['Error', 'Failed', 'Rerun', 'XFailed', 'XPassed', 'Skipped', 'Passed']

    storageModule.setSort(type)
    storageModule.setSortDirection(ascending)

    if (type?.toLowerCase() === 'original') {
        manager.setRender(list)
    } else {
        let sortedList
        switch (type) {
        case 'duration':
            sortedList = durationSort(list, ascending)
            break
        case 'result':
            sortedList = genericSort(list, type, ascending, initialOrder)
            break
        default:
            sortedList = genericSort(list, type, ascending)
            break
        }
        manager.setRender(sortedList)
    }
}

const doSort = (type, skipDirection) => {
    const newSortType = storageModule.getSort(manager.initialSort) !== type
    const currentAsc = storageModule.getSortDirection()
    let ascending
    if (skipDirection) {
        ascending = currentAsc
    } else {
        ascending = newSortType ? false : !currentAsc
    }
    storageModule.setSort(type)
    storageModule.setSortDirection(ascending)

    const list = manager.testSubset
    const sortedList = type === 'duration' ? durationSort(list, ascending) : genericSort(list, type, ascending)
    manager.setRender(sortedList)
}

module.exports = {
    doInitSort,
    doSort,
}

},{"./datamanager.js":1,"./storage.js":8}],8:[function(require,module,exports){
const possibleFilters = [
    'passed',
    'skipped',
    'failed',
    'error',
    'xfailed',
    'xpassed',
    'rerun',
]

const getVisible = () => {
    const url = new URL(window.location.href)
    const settings = new URLSearchParams(url.search).get('visible')
    const lower = (item) => {
        const lowerItem = item.toLowerCase()
        if (possibleFilters.includes(lowerItem)) {
            return lowerItem
        }
        return null
    }
    return settings === null ?
        possibleFilters :
        [...new Set(settings?.split(',').map(lower).filter((item) => item))]
}

const hideCategory = (categoryToHide) => {
    const url = new URL(window.location.href)
    const visibleParams = new URLSearchParams(url.search).get('visible')
    const currentVisible = visibleParams ? visibleParams.split(',') : [...possibleFilters]
    const settings = [...new Set(currentVisible)].filter((f) => f !== categoryToHide).join(',')

    url.searchParams.set('visible', settings)
    window.history.pushState({}, null, unescape(url.href))
}

const showCategory = (categoryToShow) => {
    if (typeof window === 'undefined') {
        return
    }
    const url = new URL(window.location.href)
    const currentVisible = new URLSearchParams(url.search).get('visible')?.split(',').filter(Boolean) ||
        [...possibleFilters]
    const settings = [...new Set([categoryToShow, ...currentVisible])]
    const noFilter = possibleFilters.length === settings.length || !settings.length

    noFilter ? url.searchParams.delete('visible') : url.searchParams.set('visible', settings.join(','))
    window.history.pushState({}, null, unescape(url.href))
}

const getSort = (initialSort) => {
    const url = new URL(window.location.href)
    let sort = new URLSearchParams(url.search).get('sort')
    if (!sort) {
        sort = initialSort || 'result'
    }
    return sort
}

const setSort = (type) => {
    const url = new URL(window.location.href)
    url.searchParams.set('sort', type)
    window.history.pushState({}, null, unescape(url.href))
}

const getCollapsedCategory = (renderCollapsed) => {
    let categories
    if (typeof window !== 'undefined') {
        const url = new URL(window.location.href)
        const collapsedItems = new URLSearchParams(url.search).get('collapsed')
        switch (true) {
        case !renderCollapsed && collapsedItems === null:
            categories = ['passed']
            break
        case collapsedItems?.length === 0 || /^["']{2}$/.test(collapsedItems):
            categories = []
            break
        case /^all$/.test(collapsedItems) || collapsedItems === null && /^all$/.test(renderCollapsed):
            categories = [...possibleFilters]
            break
        default:
            categories = collapsedItems?.split(',').map((item) => item.toLowerCase()) || renderCollapsed
            break
        }
    } else {
        categories = []
    }
    return categories
}

const getSortDirection = () => JSON.parse(sessionStorage.getItem('sortAsc')) || false
const setSortDirection = (ascending) => sessionStorage.setItem('sortAsc', ascending)

const getCollapsedIds = () => JSON.parse(sessionStorage.getItem('collapsedIds')) || []
const setCollapsedIds = (list) => sessionStorage.setItem('collapsedIds', JSON.stringify(list))

module.exports = {
    getVisible,
    hideCategory,
    showCategory,
    getCollapsedIds,
    setCollapsedIds,
    getSort,
    setSort,
    getSortDirection,
    setSortDirection,
    getCollapsedCategory,
    possibleFilters,
}

},{}]},{},[4]);
    </script>
  </footer>
</html>